import java.util.Date;

import petlab.aop.ObjectCreatedAOPFactory;
import petlab.database.MessageDB;
import petlab.database.ObjectToDAO;
import petlab.user.MessageBox;
import petlab.user.Register;


public class Test {
	public static void main(String [] args)
	{
		Register user = new Register();
		user.setUsername("username");
		user.setPassword("password");
		user.setRealName("realName");
		user.setEmail("email");
		user.setPhoneNo("phonoNo");
		user.setNote("note");
		
		MessageDB info = (MessageDB)ObjectCreatedAOPFactory.getAOPProxyedObject("petlab.database.MessageDBImpl");
		info.save(user);

	}
}
